package cn.hnu.qq.entity.message;

import java.io.Serializable;

import cn.hnu.qq.global.MessageType;

public class IpInfoMessage extends Message implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public IpInfoMessage(MessageType type){
		setMessageType(type);
	}
	
	public IpInfoMessage(){
		setMessageType(MessageType.IP_INFO);
	}
	
	private String account;
	
	private String ipAddr;

	private Integer clientListenPort;
	
	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getIpAddr() {
		return ipAddr;
	}

	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}

	public Integer getClientListenPort() {
		return clientListenPort;
	}

	public void setClientListenPort(Integer clientListenPort) {
		this.clientListenPort = clientListenPort;
	}

	
	
}
